package serviceImpl;

import dao.UserMapper;
import model.User;
import org.springframework.beans.factory.annotation.Autowired;
import service.UserService;

public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    public User selectByPrimaryKey(Integer userid) {

        User user = userMapper.selectByPrimaryKey(userid);
        return user;
    }
}
